package com.googlecode.continuity.plugin.rating.client;

import java.io.Serializable;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * RatingInfo
 *
 * @author Peter Schmitt <aragos@aragos.de>
 */
public class RatingInfo implements IsSerializable, Serializable {
  private float average;
  private int currentUserRating;
  private int ratingCount;

  public float getAverage() {
    return average;
  }

  public void setAverage(float average) {
    this.average = average;
  }

  public int getCurrentUserRating() {
    return currentUserRating;
  }

  public void setCurrentUserRating(int currentUserRating) {
    this.currentUserRating = currentUserRating;
  }

  public int getRatingCount() {
    return ratingCount;
  }

  public void setRatingCount(int ratingCount) {
    this.ratingCount = ratingCount;
  }
}
